From 1d37a61c5280ee03923dcfb2bb074b13e42328ef Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 10 Apr 2007 10:28:11 +0100 Subject: [PATCH] xend: Destroy information about the domain in case an error occurs during resume of a domain. Signed-off-by: Stefan Berger --- tools/python/xen/xend/XendDomainInfo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 425776ce12..9083e90e77 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -430,6 +430,7 @@ class XendDomainInfo: self._endRestore() except: log.exception('VM resume failed') + self.destroy() raise else: raise XendError('VM already running') -- 2.30.2